<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>这班就上到这里了！00后开始整顿下班时间了！</title>
  <link href="../css/all.min.css" rel="stylesheet">
  <script src="../js/html2canvas.min.js"></script>
</head>
<body style="margin: 0; padding: 15px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #333; max-width: 650px; margin: 0 auto; background: #fff;">
  <div style="position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 100; display: flex; flex-direction: column; gap: 15px;">
    <button id="zoomIn" style="width: 45px; height: 45px; border-radius: 50%; background: #fff; border: 1px solid #eee; box-shadow: 0 2px 8px rgba(0,0,0,0.1); color: #1e88e5; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;">
      <i class="fa fa-search-plus"></i>
    </button>
    <button id="zoomOut" style="width: 45px; height: 45px; border-radius: 50%; background: #fff; border: 1px solid #eee; box-shadow: 0 2px 8px rgba(0,0,0,0.1); color: #1e88e5; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;">
      <i class="fa fa-search-minus"></i>
    </button>
    <button id="exportImg" style="width: 45px; height: 45px; border-radius: 50%; background: #fff; border: 1px solid #eee; box-shadow: 0 2px 8px rgba(0,0,0,0.1); color: #1e88e5; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease;">
      <i class="fa fa-download"></i>
    </button>
  </div>
  
  <div id="articleContent" contenteditable="true">
    <h1 style="font-size: 1.7rem; font-weight: 700; color: #222; margin: 18px 0 15px; line-height: 1.4; letter-spacing: -0.02em;">这班就上到这里了！00后开始整顿下班时间了！</h1>
    
    <p style="font-size: 1.05rem; color: #ff6b35; font-weight: 500; margin: 0 0 18px; line-height: 1.6;">最后那个案例，看完我直接把关机键扣亮了</p>
    
    <div style="display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 10px 0; border-top: 1px solid #eee; border-bottom: 1px solid #eee;">
      <span style="background: #e8f4fd; color: #1e88e5; padding: 3px 10px; border-radius: 15px; font-size: 0.85rem;">00后整顿职场</span>
      <span style="background: #e8f4fd; color: #1e88e5; padding: 3px 10px; border-radius: 15px; font-size: 0.85rem;">下班自由</span>
      <span style="background: #e8f4fd; color: #1e88e5; padding: 3px 10px; border-radius: 15px; font-size: 0.85rem;">反内卷</span>
      <span style="background: #e8f4fd; color: #1e88e5; padding: 3px 10px; border-radius: 15px; font-size: 0.85rem;">职场热梗</span>
    </div>
    
    <p style="font-size: 1.05rem; color: #555; line-height: 1.7; margin: 0 0 22px; padding: 12px 15px; background: #fff; border-left: 3px solid #4285f4; border-radius: 2px; box-shadow: 0 1px 3px rgba(0,0,0,0.05);">
      全网5亿人在看的"下班行为艺术"：有人给工位贴封条，有人催老板下班，00后一句话戳破真相——"我卖时间，不卖命"
    </p>
    
    <div style="background: #fff; padding: 18px 15px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05);">
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 18px; color: #333;">
        下午5:59分，你是不是已经把鼠标挪到关机键上了？
      </p>
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 18px; color: #333;">
        手指悬着，盯着时间一秒秒跳，像极了当年等下课铃的样子？
      </p>
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 20px; color: #333;">
        但现在的00后，早不满足于"偷偷下班"了。
      </p>
      
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 20px; color: #333;">
        最近#这班就上到这里了#刷爆抖音5.2亿播放，小红书12万+笔记。
      </p>
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 22px; color: #333;">
        一群年轻人用"行为艺术"宣布下班，看完笑到打鸣——
      </p>
      
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 15px; color: #333; font-weight: 500;">▶ 「准点刺客」型：</p>
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 20px; color: #333; padding-left: 20px;">
        18:00整，工位炸起一声"下班！"，配NBA绝杀音效，3.2秒冲出门，背影潇洒到模糊。
      </p>
      
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 15px; color: #333; font-weight: 500;">▶ 「格局碾压」型：</p>
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 20px; color: #333; padding-left: 20px;">
        端杯热牛奶进老板办公室："张总，您熬3天了，我帮您关灯？"老板直接懵了。
      </p>
      
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 20px; color: #333;">
        笑着笑着就沉默了——这哪是搞笑，分明是打工人的"嘴替"！
      </p>
      
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 20px; color: #333;">
        多少人卡在"领导没走不敢动"的怪圈？
      </p>
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 20px; color: #333;">
        报表做完了，会议结束了，还得对着黑屏假装忙碌。
      </p>
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 22px; color: #333;">
        多少公司把"加班到深夜"当文化，把"准点下班"叫"不上进"？
      </p>
      
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 20px; color: #333;">
        00后敢这么"闹"，其实是职场规则在变：
      </p>
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 22px; color: #333;">
        他们不要"用时间换认可"，只要"8小时内高效干，8小时外我自由"。
      </p>
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 25px; color: #333;">
        就像网友说的："我拿工资干好8小时，天经地义；凭啥用私人时间当免费布景板？"
      </p>
      
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 18px; color: #333; font-weight: 500;">
        👉 你的下班仪式感是啥？光速收包，还是假装上厕所溜号？
      </p>
      <p style="font-size: 1.05rem; line-height: 1.8; margin: 0 0 5px; color: #333; font-weight: 500;">
        👉 见过最狠的下班操作是啥？评论区等个"封神案例"！
      </p>
    </div>
  </div>

  <script>
    let currentFontSize = 100;
    const zoomStep = 10;
    const maxFontSize = 150;
    const minFontSize = 70;
    
    document.getElementById('zoomIn').addEventListener('click', function() {
      if (currentFontSize < maxFontSize) {
        currentFontSize += zoomStep;
        document.documentElement.style.fontSize = currentFontSize + '%';
      }
    });
    
    document.getElementById('zoomOut').addEventListener('click', function() {
      if (currentFontSize > minFontSize) {
        currentFontSize -= zoomStep;
        document.documentElement.style.fontSize = currentFontSize + '%';
      }
    });
    
    document.getElementById('exportImg').addEventListener('click', function() {
      this.innerHTML = '<i class="fa fa-spinner fa-spin"></i>';
      
      const article = document.getElementById('articleContent');
      
      const clone = article.cloneNode(true);
      clone.style.maxWidth = '650px';
      clone.style.margin = '0 auto';
      clone.style.padding = '30px';
      clone.style.background = '#f7f7f7';
      
      const tempContainer = document.createElement('div');
      tempContainer.style.position = 'absolute';
      tempContainer.style.top = '-9999px';
      tempContainer.appendChild(clone);
      document.body.appendChild(tempContainer);
      
      html2canvas(clone, {
        scale: 2,
        useCORS: true,
        logging: false
      }).then(canvas => {
        document.getElementById('exportImg').innerHTML = '<i class="fa fa-download"></i>';
        document.body.removeChild(tempContainer);
        
        const link = document.createElement('a');
        link.download = '这班就上到这里了.png';
        link.href = canvas.toDataURL('image/png');
        link.click();
      }).catch(err => {
        document.getElementById('exportImg').innerHTML = '<i class="fa fa-download"></i>';
        alert('导出失败，请重试');
        console.error(err);
      });
    });
  </script>
</body>
</html>